<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="black" name="apple-mobile-web-app-status-bar-style">
    <meta content="telephone=no" name="format-detection">
    <meta name="keywords" content="">
    <meta name="description" content="">
    <meta name="baidu-site-verification" content="wcMMFTPk07"/>
    <title></title>
    <script src="//cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
    <link href="//cdn.bootcss.com/bootstrap/3.3.1/css/bootstrap.min.css" rel="stylesheet">
    <script src="//cdn.bootcss.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
</head>
<body>

<div class="container">
    <div class="row">

        <div class="panel panel-default">
            <div class="panel-heading">
                海风教育房间号：({$roomid})
            </div>
            <div class="panel-body" style="padding: 0px;">
                <script src="http://live.polyv.net/assets/js/liveplayer.js"></script>
                <div id='player'></div>

                <script type="text/javascript">

                    /*var player = polyvObject('#player').livePlayer({
                        'width':'498',
                        'height':'409',
                        'uid':'ed086bjeii',
                        'vid':'101162'

                    });*/
                    var player = polyvObject('#player').livePlayer({
                        'width':'100%',
                        'height':'50%',
                        'uid':'ed086bjeii',
                        'vid':'{$roomid}'

                    });
                </script>
                <iframe name="chat_iframe" src="http://live.polyv.net/watch/101162/chat.htm" style="width:100%;height: 400px"></iframe>

            </div>
        </div>
    </div>
</div>
<script>
    $(function(){

        setInterval( function() {
            $(".plvideo video" ).css({width:'100%'});
            //var  text=$(".container-full .col-xs-3" ).text();
            //console.info(text);
        }, 100 )
    })
</script>
</body>
</html>
